package com.lecode.ThreadPrint;

/**
 * Created by Administrator on 2022/2/7.
 */
public class PrintTest {
    public static void main(String[] args) {
        Thread thread1 = new Thread(new ThreadPrint(0));
        Thread thread2 = new Thread(new ThreadPrint(1));
        Thread thread3 = new Thread(new ThreadPrint(2));

        thread1.start();
        thread2.start();
        thread3.start();
    }
}
